home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
mscfunct
/
crt_wher.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-05-06
|
254b
|
15 lines
#include <dos.h>
void crt_where( row, column, page ) int *row, *column, page;
{
union REGS regs;
regs.h.ah = 3;
regs.h.bh = page;
int86( 0x10, ®s, ®s );
*row = regs.h.dh;
*column = regs.h.dl;
}